package com.atung.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("BusRoutPublishDTO")
public class BusRoutPublishDTO implements Serializable {/**
	 * 
	 */
	private static final long serialVersionUID = 3062075784140084261L;
	
	@ApiModelProperty("发布表id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)	
	private Long id;
	
	@ApiModelProperty("出发地(名字)")
	private String departlName;
	
	@ApiModelProperty("目的地(名称)")
	private String destination;
	
	@ApiModelProperty(value="车票单价")
	private BigDecimal carRidPrice;
	
	@ApiModelProperty(value="路线状态（601不可报名 600可报名）")
	private Integer routPublishState;
	
	@ApiModelProperty(value="截止报名时间")
	private LocalDateTime expirationDate;
	
	@ApiModelProperty(value="出发时间")
	private LocalDateTime startData;

}
